/**
 * Created by alan on 2017/4/27.
 * 入河排污口基本信息表
 */
Ext.define('Admin.view.waterDispath.DdsbpdoBaseController', {
  extend: 'Ext.app.ViewController',
  alias: 'controller.ddsbpdoBaseController',

  init: function() {
    // Ext.Ajax.request({
    //   url: "test.json"
    // })
  },

  //steps下一步
  check: function() {
    var ddsbpdoGrid = this.lookupReference('ddsbpdoGrid');
    var store  = ddsbpdoGrid.getStore();
    var pdoNm = this.lookupReference('pdoNm').getValue();

    store.getProxy().extraParams = {pdoNm: pdoNm,river:config.RIVER};
    console.log(store.getProxy().extraParams)
    store.reload();
  }

})
